package com.yeyks.dal.dao;

import com.yeyks.dal.domain.AppInfo;
import org.springframework.stereotype.Repository;

@Repository
public interface AppInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AppInfo record);

    int insertSelective(AppInfo record);

    AppInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AppInfo record);

    int updateByPrimaryKey(AppInfo record);

    /**
     * 通过type获取对应类型的版本更新信息
     *
     * @param type
     * @return
     */
    AppInfo selectByType(String type);
}